package cn.elwy.rcp.ui.explorer.core.vo;

/**
 * 键值对实体类
 * 
 * @author huangsq
 * @version 1.0, 2014-06-18
 * @since 1.0, 2014-06-18
 */
public class KeyValue {

  private String key;
  private Object value;

  public KeyValue() {
  }

  public KeyValue(String key, Object value) {
    super();
    this.key = key;
    this.value = value;
  }

  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }

  @SuppressWarnings("unchecked")
  public <V> V getValue() {
    return (V) value;
  }

  public void setValue(Object value) {
    this.value = value;
  }

}
